package com.neusoft.zqygbc.neusoft_wenda.service;

import com.neusoft.zqygbc.neusoft_wenda.javeBean.CollectList;
import com.neusoft.zqygbc.neusoft_wenda.javeBean.JudgeStatus;
import com.neusoft.zqygbc.neusoft_wenda.javeBean.Status;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Shinelon on 2017/5/21.
 */

public interface CollectService {
    //判断是否收藏
    @GET("Collect/iscollect")
    Call<JudgeStatus> iscollect(
            @Query("uid") String user_id,
            @Query("qid") String qid
    );

    //收藏/取消收藏问题
    @GET("Collect/useroperation")
    Call<Status> useroperation(
            @Query("uid") String user_id,
            @Query("qid") String qid
    );

    //收藏/取消收藏问题
    @GET("Collect/collectlist")
    Call<CollectList> collectlist(
            @Query("uid") String user_id
    );
}
